package com.home.school.vo;

import com.home.school.bean.TUser;
import lombok.Data;

@Data
public class UserVO {
    private String id;
    private String userName;
    private String phone;
    private Integer type;
    private String password;


    public TUser  transferToUser(){
        TUser tUser = new TUser();
        tUser.setUsername(userName);
        tUser.setPhone(phone);
        tUser.setPassword(password);
        tUser.setType(type);
        return tUser;
    }
}
